<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <title>APanel - Access Denied</title>
        <meta http-equiv="content-type" content="text/javascript;charset=UTF-8" />
        <link type="text/css" rel="stylesheet" href="{{"libraries/css/grid.css"|base_url}}"/>
        <link type="text/css" rel="stylesheet" href="{{"libraries/css/widgets.css"|base_url}}"/>
        <link type="text/css" rel="stylesheet" href="{{"libraries/css/bubble.css"|base_url}}"/>

        <script type="text/javascript" src="{{base_url()}}/libraries/script/jquery-1.9.0.js"></script>
        <script type="text/javascript" src="{{"libraries/ui/js/jquery-ui-1.9.2.custom.js"|base_url}}"></script>
        <link   type="text/css" rel="stylesheet" href="{{"libraries/ui/themes/base/jquery.ui.all.css"|base_url}}"/>
        <script type="text/javascript" src="{{"libraries/script/backend.jquery.1.1.9.js"|base_url}}"></script>

        <!--[if !IE]>
            <link   type="text/css" rel="stylesheet" href="{{"libraries/css/notie.css"|base_url}}"/>
        <![endif]-->
        <!--[if lt IE 10]>
            <style type="text/css">
                .pie{behavior: url('{{"libraries/css/pie-1.0/PIE.htc"|base_url}}');}
            </style>
        <![endif]-->
        <!--[if lt IE 9]>
            <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
            <link   type="text/css" rel="stylesheet" href="{{"libraries/css/ielt9.css"|base_url}}"/>
        <![endif]-->
        <!--[if IE 8]>
            <link   type="text/css" rel="stylesheet" href="{{"libraries/css/ie8.css"|base_url}}"/>
        <![endif]-->
        <!--[if IE 7]>
            <link   type="text/css" rel="stylesheet" href="{{"libraries/css/ie7.css"|base_url}}"/>
        <![endif]-->
    </head>
    <body>
        {{*<div id="reg-box-step-2" class="grid_8 b-g-c-w p-a z-i-1 b-d-c-ddd reprefix-3 upfix-3 m-t-- b-s-d-big b-r-4 pie t-50-pc l-50-pc">
        <h4 class="b-g-c-blue h-g-1 l-h-40 p-l-20 p-r-20 b-r-t-4">Thông tin bổ xung</h4>
        <div class="p-20 p-r">
        <div class="p-a t-0 l-0 b-0 r-0 tranf-w-50 d-p-n" style="z-index: 1001"></div>
        <div class="p-a t-0 l-0 b-0 r-0 b-g-ldg b-g-c-w _overflow" style="z-index: 1002"></div>
        </div>
        </div>*}}
        <div id="access_denied" class="b-g-c-w p-r z-i-1 d-p-n z-i-10k">
            <div class="p-l-20 p-b-20 p-r-20 p-t-12  b-g-c-w p-r" >
                <div class="p-a t-0 l-0 b-0 r-0 tranf-w-50 d-p-n" style="z-index: 1001"></div>
                <div class="p-a t-0 l-0 b-0 r-0 b-g-ldg b-g-c-w i-l-d d-p-n" style="z-index: 1002"></div>
                <div class="content-biz w-240-">
                    <form id="frm-login" name="frm-login" action="{{"widgets/ei"|base_url}}" method="POST" 
                          onsubmit="return false;" 
                          target="integration_asynchronous" autocomplete="off" 
                          >
                        <p>
                            Access is denied for user "{{$smarty.session.auth['user']->ause_name|default:'Guest'}}".<br/>
                            This function to requires an administrative account.<br/>
                            Please check your authority, and <a href='{{$smarty.get.uri|site_url}}'>try again</a>.<br/>
							<a href='{{'service/auth/logout'|site_url}}?uri={{$smarty.get.uri}}'>Login with different user</a>.
                        </p>
                    </form>
                </div>
            </div>
        </div>
        <script type="text/javascript">
            $(document).ready(function() {
                var dig = new bckdialog({
                    title: 'Access Denied !',
                    hideclose: true,
                    icon: '<img class="p-a t-8 l-8 w-16 h-16" src="{{base_url()}}libraries/images/16/denied.png"/>',
                    message: $("#access_denied")
                }).open();
            });
        </script>